function [] = plotAbsFFT2(x,quadswap,logplot)
%Convenience function for plotting fft
    if nargin==1
        quadswap = true;
        logplot = true;
    end
    if(quadswap && logplot)
        imagesc(log(abs(fftshift(fft2(x)))))
    elseif(quadswap)
        imagesc(fftshift(abs(fft2(x))))
    elseif(logplot)
        imagesc(log(abs(fft2(x))))
    end
    
end

